<nav id="main-nav" class="group">
    <h1 id="publication-title" class="left"><a href="<?php echo $Controller->page_url('home'); ?>" title="Return home"><?php echo prettify( $session->publication->name ); ?></a></h1>
    <a class="left skin-gradient" href="<?php echo $Controller->page_url('subscriptions'); ?>" title="View and manage subscriptions"><span class="viewsubs">SUBSCRIPTIONS</span></a>
    <a class="left skin-gradient" href="<?php echo $Controller->page_url('edit'); ?>" title="Manage Users"><span class="viewusers">USERS</span></a>
    <a class="left skin-gradient" href="<?php echo $Controller->page_url('reports'); ?>" title="Download reports"><span class="viewreports">REPORTS</span></a>
    <a class="settings right grey" href="<?php echo $Controller->page_url('publication'); ?>" title="Publication Settings"></a>
    <a id="loginout" class="right grey" href="<?php echo $Controller->page_url('help');?>" title="Help">HELP</a>
    <?php if ( $session->is_logged_in() ) {
        echo '<a id="loginout" class="right grey" href="?action=logout" title="Logout">LOGOUT</a>';
    } elseif ( !$session->is_logged_in() ) {
        echo '<a id="loginout" class="right grey" href="'.$Controller->page_url('home') .'" title="Login">LOGIN</a>';
    } ?>
</nav>